Edit Task: SetPossibility ResourceDurationOverride
Description
The SetPossibility ResourceDurationOverride attribute under EditTask defines the duration override for a single task possibility.
Parameters
Parameter | Description |
---|---|
PossibilityName | A string of text with a comma delimited list of resources in the possibility. Order is not required and the resource names should not be in quotes. |
ResourceName | A string of text of the resource that is being defined within the command. |
Type | The parameter options are either 'None', 'FixedDur', or 'EfficiencyFactor'.
|
Value | A non negative double representing the value for the override field. Either the duration in seconds when using Type = FixedDur or the denominator when using Type = EfficiencyFactor |
Examples
Override the duration of 'TaskA' to be 99 seconds when 'ResA' and possibility 'ResA,ResB' are used.
PATCH api/task/TaskA
Body:
{
"SetResourceDetails" : {
"PossibilityName" : "ResA,ResB",
"ResourceName" : "ResA",
"DurationOverride" : {
"Type" : "FixedDur",
"Value" : "99" }
}
}